package com.yf.course.modules.course.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yf.course.modules.course.entity.CourseRefPoint;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CourseRefPointService extends IService<CourseRefPoint> {

        /**
         * 保存目录，先删除，再添加
         * @param courseId
         * @param list
         */
        void save(String courseId, List<CourseRefPoint> list);

        void saveNewItem(String classId, List<CourseRefPoint> saveDirs);

        void saveNewKnowledgePoint(CourseRefPoint knowledgePoint);
}
